﻿
<!--html代码区域-->

@using Abp.Web.Mvc.Extensions
@using YMC_ECCentral_Scaffolder_Test.Web.Navigation
@{
    ViewBag.CurrentPageName = PageNames.App.Common.Mobilephone;//作用就是选中菜单时会高亮
}
@section Scripts
{
    @Html.IncludeScript("~/Areas/Mpa/Views/Mobilephone/MobilephoneIndex.js")
}
<div class="row margin-bottom-5">
    <div class="col-xs-6">
        <div class="page-head">
            <div class="page-title">
                <h1>
                    <span>手机</span> <small>@L("Mobilephone")</small>
                </h1>
            </div>
        </div>
    </div>
    @*这里是添加的按钮代码*@
    <div class="col-xs-6 text-right">
        @if (IsGranted(YMC_ECCentral_Scaffolder_Test.Authorization.AppPermissions.Pages_Business_Mobilephone_Create))//判断是否有添加分类的权限
        {
            <button id="CreateNewItemButton" class="btn btn-primary blue"><i class="fa fa-plus"></i>添加</button>
        }
    </div>
</div>
<div class="portlet light">
    @*搜索*@
    <div class="portlet-title portlet-title-filter">
        <div class="inputs inputs-full-width">
            <div class="portlet-input">
                <form>
                    <div class="input-group">
                        <input id="MobilephoneTableFilter" class="form-control" placeholder="@L("SearchWithThreeDot")" type="text" value="@ViewBag.FilterText">
                        <span class="input-group-btn">
                            <button id="GetMobilephoneButton" class="btn default" type="submit"><i class="icon-magnifier"></i></button>
                        </span>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <div class="portlet-body">
        <div>
            <div id="MobilephoneTable"></div>
        </div>
    </div>
</div>


